package com.googlecode.trabhci2011.stockmarket.shared;

import java.util.HashMap;

import com.google.gwt.i18n.client.DateTimeFormat;

public class StockDataDefs {

	public static final String DATE_FORMAT_STRING = "dd/MM/yyyy";

	public static final String FILE_DATE_FORMAT_STRING = "yyyy-MM-dd";
	
	public static final DateTimeFormat DATE_FORMAT = DateTimeFormat.getFormat(StockDataDefs.DATE_FORMAT_STRING);
	

	public static final DateTimeFormat FILE_DATE_FORMAT = DateTimeFormat.getFormat(StockDataDefs.FILE_DATE_FORMAT_STRING);

	
	public static final String START_DATE_NAME = "Start Date";

	public static final String END_DATE_NAME = "End Date";
	
	public static final String INDEX_NAMES = "Indexes";
	
	public static final HashMap<String , String> indexNames = new HashMap<String, String>();
	
	static {
		indexNames.put("DOW", "Dow Jones Industry Average");
		indexNames.put("SANDP", "Standards and Poor");
		indexNames.put("DAX", "Deutscher Aktien Index");
		indexNames.put("FTSE", "FTSe 100");
		indexNames.put("NASDAQ", "NASDAQ");
		indexNames.put("CAC40", "CAC 40");
		indexNames.put("BND10YR", "US 10 Year Bonds");
	}
}
